package com.enjoyor.soa.traffic.api.dto.efoms;

import java.util.List;

import com.enjoyor.soa.traffic.util.bean.base.ABean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 维修工单记录
 * 
 * @author zyh
 * 
 * @date 2018-12-28
 */
@ApiModel(value = "WorkordersRecordInfoDto", description = "维修工单记录")
public class WorkordersRecordInfoDto extends ABean{

	private static final long serialVersionUID = -6236816678565551095L;

	@ApiModelProperty(value = "主键", name="workordersRecordId",  required = true)
    private String workordersRecordId;

	@ApiModelProperty(value = "工单编号", name="workordersId",  required = true)
    private String workordersId;

	@ApiModelProperty(value = "操作类型编号", name="operTypeCode",  required = true)
    private String operTypeCode;

	@ApiModelProperty(value = "操作类型名称", name="operTypeName",  required = true)
    private String operTypeName;

	@ApiModelProperty(value = "运维部门编号", name="opDeptId",  required = true)
    private String opDeptId;

	@ApiModelProperty(value = "运维部门名称", name="opDeptName",  required = true)
    private String opDeptName;

	@ApiModelProperty(value = "运维人员编号", name="opPersonId",  required = true)
    private String opPersonId;

	@ApiModelProperty(value = "运维人员名称", name="opPersonName",  required = true)
    private String opPersonName;

	@ApiModelProperty(value = "联系电话", name="contactTel",  required = true)
    private String contactTel;

	@ApiModelProperty(value = "截止时间", name="deadlineDate",  required = true)
    private String deadlineDate;

	@ApiModelProperty(value = "故障类型编号", name="failureTypeCode",  required = true)
    private String failureTypeCode;

	@ApiModelProperty(value = "故障类型名称", name="failureTypeName",  required = true)
    private String failureTypeName;

	@ApiModelProperty(value = "故障原因", name="failureReason",  required = true)
    private String failureReason;

	@ApiModelProperty(value = "工单得分", name="valueSumGrades",  required = true)
    private int valueSumGrades;

	@ApiModelProperty(value = "操作原因编号", name="operReasonCode",  required = true)
    private String operReasonCode;

	@ApiModelProperty(value = "操作原因名称", name="operReasonName",  required = true)
    private String operReasonName;

	@ApiModelProperty(value = "操作结果编号", name="operResultCode",  required = true)
    private String operResultCode;

	@ApiModelProperty(value = "操作结果", name="operResult",  required = true)
    private String operResult;

	@ApiModelProperty(value = "操作说明", name="operExplain",  required = true)
    private String operExplain;

	@ApiModelProperty(value = "操作人", name="operPerson",  required = true)
    private String operPerson;

	@ApiModelProperty(value = "操作时间", name="operDate",  required = true)
    private String operDate;
	
	@ApiModelProperty(value = "操作后状态编号", name="endStatusCode",  required = true)
    private String endStatusCode;
	
	@ApiModelProperty(value = "关联附件集合", name="fileInfoList",  required = true)
    private List<FileInfoDto> fileInfoList;
	
	@ApiModelProperty(value = "评价项评分集合", name="evalGradeList",  required = true)
    private List<EvalGradeInfoDto> evalGradeList;
	
    public String getWorkordersRecordId() {
        return workordersRecordId;
    }

    public void setWorkordersRecordId(String workordersRecordId) {
        this.workordersRecordId = workordersRecordId == null ? null : workordersRecordId.trim();
    }

    public String getWorkordersId() {
        return workordersId;
    }

    public void setWorkordersId(String workordersId) {
        this.workordersId = workordersId == null ? null : workordersId.trim();
    }

    public String getOperTypeCode() {
        return operTypeCode;
    }

    public void setOperTypeCode(String operTypeCode) {
        this.operTypeCode = operTypeCode == null ? null : operTypeCode.trim();
    }

    public String getOperTypeName() {
        return operTypeName;
    }

    public void setOperTypeName(String operTypeName) {
        this.operTypeName = operTypeName == null ? null : operTypeName.trim();
    }

    public String getOpDeptId() {
        return opDeptId;
    }

    public void setOpDeptId(String opDeptId) {
        this.opDeptId = opDeptId == null ? null : opDeptId.trim();
    }

    public String getOpDeptName() {
        return opDeptName;
    }

    public void setOpDeptName(String opDeptName) {
        this.opDeptName = opDeptName == null ? null : opDeptName.trim();
    }

    public String getOpPersonId() {
        return opPersonId;
    }

    public void setOpPersonId(String opPersonId) {
        this.opPersonId = opPersonId == null ? null : opPersonId.trim();
    }

    public String getOpPersonName() {
        return opPersonName;
    }

    public void setOpPersonName(String opPersonName) {
        this.opPersonName = opPersonName == null ? null : opPersonName.trim();
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel == null ? null : contactTel.trim();
    }

    public String getDeadlineDate() {
        return deadlineDate;
    }

    public void setDeadlineDate(String deadlineDate) {
        this.deadlineDate = deadlineDate;
    }

    public String getFailureTypeCode() {
        return failureTypeCode;
    }

    public void setFailureTypeCode(String failureTypeCode) {
        this.failureTypeCode = failureTypeCode == null ? null : failureTypeCode.trim();
    }

    public String getFailureTypeName() {
        return failureTypeName;
    }

    public void setFailureTypeName(String failureTypeName) {
        this.failureTypeName = failureTypeName == null ? null : failureTypeName.trim();
    }

    public String getFailureReason() {
        return failureReason;
    }

    public void setFailureReason(String failureReason) {
        this.failureReason = failureReason == null ? null : failureReason.trim();
    }

    public int getValueSumGrades() {
        return valueSumGrades;
    }

    public void setValueSumGrades(int valueSumGrades) {
        this.valueSumGrades = valueSumGrades;
    }

    public String getOperReasonCode() {
        return operReasonCode;
    }

    public void setOperReasonCode(String operReasonCode) {
        this.operReasonCode = operReasonCode == null ? null : operReasonCode.trim();
    }

    public String getOperReasonName() {
        return operReasonName;
    }

    public void setOperReasonName(String operReasonName) {
        this.operReasonName = operReasonName == null ? null : operReasonName.trim();
    }

    public String getOperResultCode() {
        return operResultCode;
    }

    public void setOperResultCode(String operResultCode) {
        this.operResultCode = operResultCode == null ? null : operResultCode.trim();
    }

    public String getOperResult() {
        return operResult;
    }

    public void setOperResult(String operResult) {
        this.operResult = operResult == null ? null : operResult.trim();
    }

    public String getOperExplain() {
        return operExplain;
    }

    public void setOperExplain(String operExplain) {
        this.operExplain = operExplain == null ? null : operExplain.trim();
    }

    public String getOperPerson() {
        return operPerson;
    }

    public void setOperPerson(String operPerson) {
        this.operPerson = operPerson == null ? null : operPerson.trim();
    }

    public String getOperDate() {
        return operDate;
    }

    public void setOperDate(String operDate) {
        this.operDate = operDate;
    }

	public String getEndStatusCode() {
		return endStatusCode;
	}

	public void setEndStatusCode(String endStatusCode) {
		this.endStatusCode = endStatusCode;
	}

	public List<FileInfoDto> getFileInfoList() {
		return fileInfoList;
	}

	public void setFileInfoList(List<FileInfoDto> fileInfoList) {
		this.fileInfoList = fileInfoList;
	}
	
	public List<EvalGradeInfoDto> getEvalGradeList() {
		return evalGradeList;
	}

	public void setEvalGradeList(List<EvalGradeInfoDto> evalGradeList) {
		this.evalGradeList = evalGradeList;
	}

	public WorkordersRecordInfoDto() {};
	/**
     * 一般操作记录
     */
	public WorkordersRecordInfoDto(String workordersId, String operTypeCode, String operTypeName, String deadlineDate,
			String operReasonCode, String operReasonName, String operResultCode, String operResult, String operExplain) {
        this.workordersId = workordersId == null ? null : workordersId.trim();
        this.operTypeCode = operTypeCode == null ? null : operTypeCode.trim();
        this.operTypeName = operTypeName == null ? null : operTypeName.trim();
        this.deadlineDate = deadlineDate;
        this.operReasonCode = operReasonCode == null ? null : operReasonCode.trim();
        this.operReasonName = operReasonName == null ? null : operReasonName.trim();
        this.operResultCode = operResultCode == null ? null : operResultCode.trim();
        this.operResult = operResult == null ? null : operResult.trim();
        this.operExplain = operExplain == null ? null : operExplain.trim();
	};
	/**
     * 派发操作记录
     */
	public WorkordersRecordInfoDto(String workordersId, String operTypeCode, String operTypeName, String opDeptId,
			String opDeptName, String opPersonId, String opPersonName, String contactTel, String deadlineDate,
			String operExplain) {
        this.workordersId = workordersId == null ? null : workordersId.trim();
        this.operTypeCode = operTypeCode == null ? null : operTypeCode.trim();
        this.operTypeName = operTypeName == null ? null : operTypeName.trim();
        this.opDeptId = opDeptId == null ? null : opDeptId.trim();
        this.opDeptName = opDeptName == null ? null : opDeptName.trim();
        this.opPersonId = opPersonId == null ? null : opPersonId.trim();
        this.opPersonName = opPersonName == null ? null : opPersonName.trim();
        this.contactTel = contactTel == null ? null : contactTel.trim();
        this.deadlineDate = deadlineDate;
        this.operExplain = operExplain == null ? null : operExplain.trim();
	};
	/**
     * 反馈操作记录
     */
	public WorkordersRecordInfoDto(String workordersId, String operTypeCode, String operTypeName,
			String failureTypeCode, String failureTypeName, String failureReason, String operResultCode,
			String operResult, String operExplain, List<FileInfoDto> fileInfoList) {
        this.workordersId = workordersId == null ? null : workordersId.trim();
        this.operTypeCode = operTypeCode == null ? null : operTypeCode.trim();
        this.operTypeName = operTypeName == null ? null : operTypeName.trim();
        this.failureTypeCode = failureTypeCode == null ? null : failureTypeCode.trim();
        this.failureTypeName = failureTypeName == null ? null : failureTypeName.trim();
        this.failureReason = failureReason == null ? null : failureReason.trim();
        this.operResultCode = operResultCode == null ? null : operResultCode.trim();
        this.operResult = operResult == null ? null : operResult.trim();
        this.operExplain = operExplain == null ? null : operExplain.trim();
		this.fileInfoList = fileInfoList;
	};
	/**
     * 所有字段 操作记录
     */
	public WorkordersRecordInfoDto(String workordersRecordId, String workordersId, String operTypeCode,
			String operTypeName, String opDeptId, String opDeptName, String opPersonId, String opPersonName,
			String contactTel, String deadlineDate, String failureTypeCode, String failureTypeName,
			String failureReason, int valueSumGrades, String operReasonCode, String operReasonName,
			String operResultCode, String operResult, String operExplain, List<FileInfoDto> fileInfoList) {
		this.workordersRecordId = workordersRecordId == null ? null : workordersRecordId.trim();
        this.workordersId = workordersId == null ? null : workordersId.trim();
        this.operTypeCode = operTypeCode == null ? null : operTypeCode.trim();
        this.operTypeName = operTypeName == null ? null : operTypeName.trim();
        this.opDeptId = opDeptId == null ? null : opDeptId.trim();
        this.opDeptName = opDeptName == null ? null : opDeptName.trim();
        this.opPersonId = opPersonId == null ? null : opPersonId.trim();
        this.opPersonName = opPersonName == null ? null : opPersonName.trim();
        this.contactTel = contactTel == null ? null : contactTel.trim();
        this.deadlineDate = deadlineDate;
        this.failureTypeCode = failureTypeCode == null ? null : failureTypeCode.trim();
        this.failureTypeName = failureTypeName == null ? null : failureTypeName.trim();
        this.failureReason = failureReason == null ? null : failureReason.trim();
        this.valueSumGrades = valueSumGrades;
        this.operReasonCode = operReasonCode == null ? null : operReasonCode.trim();
        this.operReasonName = operReasonName == null ? null : operReasonName.trim();
        this.operResultCode = operResultCode == null ? null : operResultCode.trim();
        this.operResult = operResult == null ? null : operResult.trim();
        this.operExplain = operExplain == null ? null : operExplain.trim();
		this.fileInfoList = fileInfoList;
	};
}